package com.ruoyi.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 平台瞬间评论对象 sys_moment_comment
 *
 * @author jjp
 * @date 2020-04-14
 */
public class SysMomentComment extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Long commentId;

    /**
     * 瞬间id
     */
    private Long momentId;

    /**
     * 用户id
     */
    private Long mobileUserId;

    /**
     * 用户name
     */
    private String userName;

    /**
     * 评价值
     */
    private String value;

    /**
     * 评价内容
     */
    private String evaluate;

    /**
     * 评价时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createDate;

    /**
     * $column.columnComment
     */
    private Long parentCommentId;

    /**
     * $column.columnComment
     */
    private String status;

    private Integer count;
    private Integer commentCount;
    private Integer momentCommentPariseCount;

    private List<String> url;

    private SysMoments sysMoments;

    private SysMobileUser sysMobileUser;

    private List<SysMomentComment> sysMomentComment;

    public Integer getMomentCommentPariseCount() {
        return momentCommentPariseCount;
    }

    public void setMomentCommentPariseCount(Integer momentCommentPariseCount) {
        this.momentCommentPariseCount = momentCommentPariseCount;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public SysMobileUser getSysMobileUser() {
        return sysMobileUser;
    }

    public void setSysMobileUser(SysMobileUser sysMobileUser) {
        this.sysMobileUser = sysMobileUser;
    }

    public List<SysMomentComment> getSysMomentComment() {
        return sysMomentComment;
    }

    public void setSysMomentComment(List<SysMomentComment> sysMomentComment) {
        this.sysMomentComment = sysMomentComment;
    }

    public List<String> getUrl() {
        return url;
    }

    public void setUrl(List<String> url) {
        this.url = url;
    }

    public SysMoments getSysMoments() {
        return sysMoments;
    }



    public void setSysMoments(SysMoments sysMoments) {
        this.sysMoments = sysMoments;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setCommentId(Long commentId) {
        this.commentId = commentId;
    }

    public Long getCommentId() {
        return commentId;
    }

    public void setMomentId(Long momentId) {
        this.momentId = momentId;
    }

    public Long getMomentId() {
        return momentId;
    }

    public void setMobileUserId(Long mobileUserId) {
        this.mobileUserId = mobileUserId;
    }

    public Long getMobileUserId() {
        return mobileUserId;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public void setEvaluate(String evaluate) {
        this.evaluate = evaluate;
    }

    public String getEvaluate() {
        return evaluate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setParentCommentId(Long parentCommentId) {
        this.parentCommentId = parentCommentId;
    }

    public Long getParentCommentId() {
        return parentCommentId;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return "SysMomentComment{" +
                "commentId=" + commentId +
                ", momentId=" + momentId +
                ", mobileUserId=" + mobileUserId +
                ", userName='" + userName + '\'' +
                ", value='" + value + '\'' +
                ", evaluate='" + evaluate + '\'' +
                ", createDate=" + createDate +
                ", parentCommentId=" + parentCommentId +
                ", status='" + status + '\'' +
                ", count=" + count +
                ", url='" + url + '\'' +
                ", sysMoments=" + sysMoments +
                '}';
    }
}
